package org.hwua.production.domain;

/**
 * 作业
 * @author hwua
 *
 */
public class Work implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
    private String workId;//作业编号

    private String processNumber;//工序号
    
    private Product product;//产品

    private Process process;//工序

    private Device device;//设备

    private Integer rating;//班产定额

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId == null ? null : workId.trim();
    }

    public String getProcessNumber() {
        return processNumber;
    }

    public void setProcessNumber(String processNumber) {
        this.processNumber = processNumber == null ? null : processNumber.trim();
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Process getProcess() {
		return process;
	}

	public void setProcess(Process process) {
		this.process = process;
	}

	public Device getDevice() {
		return device;
	}

	public void setDevice(Device device) {
		this.device = device;
	}
}